# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-linux-gnu \
# RUN:   -mcpu=future | FileCheck %s

# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-aix-gnu \
# RUN:   -mcpu=future | FileCheck %s

# RUN: llvm-mc --disassemble %s -triple powerpc-unknown-aix-gnu \
# RUN:   -mcpu=future | FileCheck %s

#CHECK: dmxxextfdmr512 1, 2, 34, 0
0xf0 0x82 0x17 0x12

#CHECK: dmxxextfdmr512 1, 2, 34, 1
0xf0 0x83 0x17 0x12

#CHECK: dmxxextfdmr256 3, 8, 0
0xf1 0x80 0x47 0x90

#CHECK: dmxxextfdmr256 3, 8, 3
0xf1 0x81 0x4f 0x90

#CHECK: dmxxinstfdmr512 1, 2, 34, 0
0xf0 0x82 0x17 0x52

#CHECK: dmxxinstfdmr512 1, 2, 34, 1
0xf0 0x83 0x17 0x52

#CHECK: dmxxinstfdmr256 3, 8, 0
0xf1 0x80 0x47 0x94

#CHECK: dmxxinstfdmr256 3, 8, 3
0xf1 0x81 0x4f 0x94

#CHECK: dmsetdmrz 3
0x7d 0x82 0x01 0x62

#CHECK: dmmr 4, 5
0x7e 0x06 0xa1 0x62

#CHECK: dmxor 6, 7
0x7f 0x07 0xe1 0x62

#CHECK: subfus 3, 0, 4, 5
0x7c 0x64 0x28 0x90

#CHECK: subfus 3, 1, 4, 5
0x7c 0x64 0x2c 0x90

#CHECK: subfus. 3, 0, 4, 5
0x7c 0x64 0x28 0x91

#CHECK: subfus. 3, 1, 4, 5
0x7c 0x64 0x2c 0x91

#CHECK: lxvrl 1, 1, 2
0x7c 0x21 0x14 0x1a

#CHECK: lxvrll 0, 3, 4
0x7c 0x03 0x24 0x5a

#CHECK: stxvrl 2, 0, 1
0x7c 0x40 0x0d 0x1a

#CHECK: stxvrll 3, 1, 5
0x7c 0x61 0x2d 0x5a

#CHECK: lxvprl 6, 1, 5
0x7c 0xc1 0x2c 0x9a

#CHECK: lxvprll 6, 2, 1
0x7c 0xc2 0x0c 0xda

#CHECK: stxvprl 0, 1, 2
0x7c 0x01 0x15 0x9a

#CHECK: stxvprll 6, 0, 1
0x7c 0xc0 0x0d 0xda
